<include file="__PUBLIC__/head.php">
	<title>添加栏目</title>
</head>
<body class="bgwhite-1">
	<div class="Menu">
		<a href="{|U:'index'}"><i class="icon-reorder mr3 gray"></i>栏目管理</a>
		<a href="{|U:'add'}" class="act"><i class="icon-plus mr3 gray"></i>添加栏目</a>
		<a href="{|U:'updateCache'}" class="ajax" actUrl="{|U('index')}"><i class="icon-refresh mr3 gray"></i>更新缓存</a>
	</div>
<form action="{|U('add')}" method="post" enctype="multipart/form-data">
	<input type="hidden" name='pid' value='{$hd.get.pid|default:0}' />
	<div class="p10">
		<table class="table form">
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">栏目标题</span></td>
				<td><input class="pct30" type="text" name="cname"  /></td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">跳转地址</span></td>
				<td><input class="pct40" type="text" name="url" placeholder="控制器名称/方法 如：Index/index"  /></td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">栏目图片</span></td>
				<td>
					<fieldset class="bgwhite pct50">
						<legend>上传图片</legend>
						<input type="file"  name="pic" />
					</fieldset>
				</td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">栏目关键字(SEO)</span></td>
				<td><textarea class="pct60" name="keywords" cols="30" rows="2"></textarea></td>
			</tr>
			<tr class='fm f14'>
				<td class="tr f14 fm pct25"><span class="pr10">栏目描述(SEO)</span></td>
				<td><textarea class="pct70" name="description" cols="30" rows="3"></textarea> <span class="gray">80-120字为宜</span></td>
			</tr>
		</table>
	</div>
	<div class="fixBottom">
		<p class="p5 tc"><input type="submit" class="btn bgblack f20" value='确定操作' /></p>
	</div>
</form>
</body>
</html>